package cn.terminus.service.customer.analysis;

import cn.terminus.result.common.context.TerminusCallContext;
import cn.terminus.result.common.util.TerminusDateUtils;

/**
 * @Author ty
 * @desc 概览分析
 * @data 2021/8/11
 **/
public class OverviewAnalysis extends BaseAnalysis {

    private static final long serialVersionUID = 5260284636617667443L;

    /**
     * 客户量
     */
    private Integer customNum;
    /**
     * 入驻企业量
     */
    private Integer companyNum;

    public OverviewAnalysis(){}
    public OverviewAnalysis(TerminusCallContext context, Integer customNum, Integer companyNum){
        this.setBusinessId(context.getBusiness().getBusinessId());
        this.customNum = customNum;
        this.companyNum = companyNum;
        this.setDataTime(TerminusDateUtils.getDate10YMD());
    }

    public Integer getCustomNum() {
        return customNum;
    }

    public void setCustomNum(Integer customNum) {
        this.customNum = customNum;
    }

    public Integer getCompanyNum() {
        return companyNum;
    }

    public void setCompanyNum(Integer companyNum) {
        this.companyNum = companyNum;
    }
}
